package com.hyts.jgit.base.model;

import com.hyts.jgit.bean.HttpsAuthModel;
import lombok.*;

/**
 * project-name:coffice-toolbox
 * package-name:com.hyts.gitclient.base.model
 * author:Libo/Alex
 * create-date:2019-06-14 21:49
 * copyright:libo-hyts-github
 * email:libo2dev@aliyun.com
 * description:此类主要用于:
 */
@NoArgsConstructor
@Builder
public class LocalModel {

    /**
     * 本地服务器地址
     */
    @Setter
    @Getter
    private String localRepositoryPath;

    /**
     * 本地分支名称
     */
    @Setter
    @Getter
    private String localBranchName;


    @Setter
    @Getter
    private HttpsAuthModel authModel;

    /**
     * @param localRepositoryPath 本地仓库路径
     * @param localBranchName 本地分支名称
     * @param authModel 认证对象服务
     */
    public LocalModel(String localRepositoryPath, String localBranchName, HttpsAuthModel authModel) {
        this.localRepositoryPath = localRepositoryPath;
        this.localBranchName = localBranchName;
        this.authModel = authModel;
    }
}
